﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Discuz for SAE Ucenter 密码生成</title>
<?php
	if($_POST['pwd'])
	{
		$password = $_POST["pwd"];
		$salt = $_POST['salt'];
		$md5_password = md5(md5($password).$salt);
		echo "define('UC_FOUNDERPW', '$md5_password');<br>define('UC_FOUNDERSALT', '$salt');";
	}
	else
	{
		echo "<a href = index.php>请不要直接访问该页面！点击返回！</a>";
	}
?>
<body>
<br><input type = button value = 返回 onclick = "javascript:history.back();">
</body>
